package com.memoir.jpa.controller;

import com.memoir.jpa.service.TodoCustomService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

@RequestMapping("/todo")
@RestController
public class TodoCustomController {

    @Autowired
    private TodoCustomService todoService;

    @RequestMapping(value = "/test", method = RequestMethod.GET)
    public void test(){
        todoService.testCustom();
    }

}




